AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The VisibleRange property is used to get and change the width of the Range Slider control track.
Visible range of the Range Slider
The visible range can also be configured:
  • in the description window of the Range Slider control ("General" tab).
  • by the user when he modifies the extremities of the scrollbar box. In this case, the "Range modification" event of the Range Slider is automatically run.
Example
// Display the properties of the Range Slider control
EDT_Value = MySelf.Value
EDT_LOWER_BOUND = MySelf.MinValue
EDT_UPPER_BOUND = MySelf.MaxValue
EDT_TOTAL_RANGE = MySelf.TotalRange
EDT_VISIBLE_RANGE = MySelf.VisibleRange
Syntax

Finding out the visible range of the Range Slider control Hide the details

<Result> = <Range Slider control>.VisibleRange
<Result>: Integer
Visible range of the Range Slider.
<Range Slider control>: Control name
Name of the Range Slider control used.

Modifying the visible range of Range Slider control Hide the details

<Range Slider control>.VisibleRange = <New visible range>
<Range Slider control>: Control name
Name of the Range Slider control used.
<New visible range>: Integer
New visible range of the Range Slider control.
Remark: For a horizontal Range Slider, only the right extremity is modified. For a vertical Range Slider, only the bottom extremity is modified.
Remarks
When the visible range of a Range Slider is changed using the VisibleRange property, the "Range modification" event of the Range Slider is not executed.
Versión mínima requerida
  • Versión 15
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local